import { API_CONFIG } from "../../config"
const baseURL = API_CONFIG.productionUrl

export default [
	{
		name: "sendPhoneCode",
		baseURL,
		path: "openPage/sendPhoneCode",
		method: "post",
		desc: "发送短信验证码",
	},
	{
		name: "getImageCode",
		baseURL,
		path: "openPage/getImageCode",
		method: "post",
		desc: "获取图形验证码",
	},
	{
		name: "getOpenPageList",
		baseURL,
		path: "openPage/getOpenPageList",
		method: "post",
		desc: "获取开放页面列表",
	},
	{
		name: "getPosterConfig",
		baseURL,
		path: "api/order-service-ms/advertising/getAdvertisingConfig",
		method: "post",
		desc: "获取广告开关配置",
	},
	{
		name: "wechatPay",
		baseURL,
		path: "api/notarization-service-ms/agentOrder/wechatPay",
		method: "post",
		desc: "公证支付调起",
	},
	{
		name: "translateWechatPay",
		baseURL,
		path: "api/school-service-ms/translate/wechatPay",
		method: "post",
		desc: "获取文件翻译支付的参数",
	},
	{
		name: "agencyWechatPay",
		baseURL,
		path: "api/school-service-ms/agency/wechatPay",
		method: "post",
		desc: "获取支付的参数",
	},
	{
		name: "getAgencyEnable",
		baseURL,
		path: "api/school-service-ms/agency/getEnable",
		method: "post",
		desc: "获取文件代办开关",
	},
	{
		name: "getXadzToken",
		baseURL,
		path: "api/getXadzToken",
		method: "post",
		desc: "获取西安电子科技大学token",
	},
	{
		name: "getSchoolList",
		baseURL,
		path: "getSchoolList",
		method: "post",
		desc: "获取学校名称列表",
	},
	{
		name: "login",
		baseURL,
		path: "api/login/user",
		method: "post",
		desc: "用户名密码登录",
	},
	{
		name: "getServiceTime",
		baseURL,
		path: "api/login/currentTime",
		method: "post",
		desc: "获取服务器毫秒值",
	},
	// {
	//   name: 'checkLogin',
	//   baseURL,
	//   path: 'api/login/code',
	//   method: 'post',
	//   desc: 'code无感登录'
	// },
	{
		name: "refresh",
		baseURL,
		path: "api/token/refresh",
		method: "post",
		desc: "刷新token",
	},
	{
		name: "loginOut",
		baseURL,
		path: "api/login/loginOut",
		method: "post",
		desc: "解除绑定",
	},
	// {
	//   name: 'testCode',
	//   baseURL,
	//   path: 'api/login/code',
	//   method: 'post',
	//   desc: '测试企业微信code和微信code'
	// },
]
